#include<iostream>
#include<unistd.h>
using namespace std;
int main(int argc,const char* argv[],const char* env[])
{
    for(int i=0; argv[i];i++)
    {
        printf("argv[%d]:%s\n",i,argv[i]);
    }
    cout<<"---------------------"<<endl;

    for(int i=0; env[i];i++)
    {
        printf("env[%d]:%s\n",i,env[i]);
    }
    cout<<"---------------------"<<endl;

    cout<<"hello"<<":"<<getpid()<<endl;
    cout<<"hello"<<":"<<getpid()<<endl;
    cout<<"hello"<<":"<<getpid()<<endl;
    cout<<"hello"<<":"<<getpid()<<endl;
    return 0;
}
